import {
	request_post
} from './request.js'

import {
	getData
} from '@/tools/tools.js'


// 报销列表
export const getBaoxiaoList = (rec) => {
	return request_post(('/api_action_show_expense'),{
		user_id: getData().id,
		record_id:rec
	})
}

// 报销详情
export const getBaoxiaoMessage = (rec) => {
	return request_post(('/api_action_show_expense_xq'),{
		user_id: getData().id,
		record_id:rec
	})
}

// 报销单列表 
export const getBaoxiaoDanList = () => {
	return request_post(('/api_action_show_expense_list'),{
		user_id: getData().id
	})
}